package org.jmc.refmanager.domain.model.filter;

public class AdresseFilter extends AbstractFilter {
	public static final String CODE_POSTAL = "codePostal";
	public static final String INSEE = "insee";
	public static final String COMMUNE = "commune";
	public static final String CODE_DEPARTEMENT = "codeDepartement";
	public static final String CODE_REGION = "codeRegion";
	public static final String CODE_DIALOG_DEPARTEMENT = "codeDialogDepartement";
	public static final String CODE_TG_DEPARTEMENT = "codeTGDepartement";
	
	public final static String[] allProperties = new String[] {
		CODE_POSTAL, INSEE, COMMUNE, CODE_DEPARTEMENT,
		CODE_REGION, CODE_DIALOG_DEPARTEMENT, CODE_TG_DEPARTEMENT
	};
	
	public String[] getAllProperties() {
		return allProperties;
	}

	/**
	 * 
	 * @return
	 */
	public static String[] filterByCodePostal() {
		String[] props = AbstractFilter.getExcludeProperties(allProperties, new String[] {
				CODE_POSTAL
		});
		
		return props;
	}

}
